Previous Book Contents Book Index Next

Inside Macintosh: AppleScript Language Guide / Part 3 - Appendixes
Appendix B - Scriptable Text Editor Dictionary / Scriptable Text Editor Commands


Revert

The Revert command is a request to replace one or more documents with the versions of the documents that were most recently saved.

SYNTAX
revert referenceToDocument
PARAMETER
referenceToDocument
A reference to the document or documents to be replaced by
the versions of the documents that were most recently saved. Because the Scriptable Text Editor's document and window objects are interchangeable, either document or window objects can be specified.
Class: Reference
RESULT
None

EXAMPLE
revert document "Really Big"

Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996